package com.ruike.alisurface.bean;

import java.io.Serializable;
import java.util.List;

public class ShoptypeBean implements Serializable {


    /**
     * data : [{"value":"1414762539832721408","label":"精神类","children":[{"value":"1414762656312737792","label":"精神二类","children":[{"value":"1414763020625788928","label":"有猫病","children":[]}]}]}]
     * code : 0
     * msg : success
     * sendData : 2021-07-16 10:33:33
     */

    private int code;
    private String msg;
    private String sendData;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getSendData() {
        return sendData;
    }

    public void setSendData(String sendData) {
        this.sendData = sendData;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        @Override
        public String toString() {
            return "DataBean{" +
                    "value='" + value + '\'' +
                    ", label='" + label + '\'' +
                    ", children=" + children +
                    '}';
        }
        public static final int TYPE_ONLINE = 1;
        public static final int TYPE_OFFLINE = 2;
        public static final int TYPE_ALL = 3;

        /**
         * value : 1414762539832721408
         * label : 精神类
         * children : [{"value":"1414762656312737792","label":"精神二类","children":[{"value":"1414763020625788928","label":"有猫病","children":[]}]}]
         */

        private String value;
        private String label;
        private List<ChildrenBeanX> children;
        boolean isSelect;

        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }
        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getLabel() {
            return label;
        }

        public void setLabel(String label) {
            this.label = label;
        }

        public List<ChildrenBeanX> getChildren() {
            return children;
        }

        public void setChildren(List<ChildrenBeanX> children) {
            this.children = children;
        }

        public static class ChildrenBeanX implements Serializable {
            @Override
            public String toString() {
                return "ChildrenBeanX{" +
                        "value='" + value + '\'' +
                        ", label='" + label + '\'' +
                        ", children=" + children +
                        '}';
            }

            /**
             * value : 1414762656312737792
             * label : 精神二类
             * children : [{"value":"1414763020625788928","label":"有猫病","children":[]}]
             */

            private String value;
            private String label;
            private List<ChildrenBean> children;
            boolean isSelect;

            public boolean isSelect() {
                return isSelect;
            }

            public void setSelect(boolean select) {
                isSelect = select;
            }
            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }

            public String getLabel() {
                return label;
            }

            public void setLabel(String label) {
                this.label = label;
            }

            public List<ChildrenBean> getChildren() {
                return children;
            }

            public void setChildren(List<ChildrenBean> children) {
                this.children = children;
            }

            public static class ChildrenBean implements Serializable {

                @Override
                public String toString() {
                    return "ChildrenBean{" +
                            "value='" + value + '\'' +
                            ", label='" + label + '\'' +
                            ", children=" + children +
                            ", isSelect=" + isSelect +
                            '}';
                }

                /**
                 * value : 1414763020625788928
                 * label : 有猫病
                 * children : []
                 */

                private String value;
                private String label;
                private List<?> children;

                boolean isSelect;

                public boolean isSelect() {
                    return isSelect;
                }

                public void setSelect(boolean select) {
                    isSelect = select;
                }

                public String getValue() {
                    return value;
                }

                public void setValue(String value) {
                    this.value = value;
                }

                public String getLabel() {
                    return label;
                }

                public void setLabel(String label) {
                    this.label = label;
                }

                public List<?> getChildren() {
                    return children;
                }

                public void setChildren(List<?> children) {
                    this.children = children;
                }
            }
        }
    }
}
